import request from "@/utils/request.js";

export const listRoom= (params) =>request.get('/api/hotel/room/list',{params})

export const deleteRoom= (id) =>request.delete('/api/hotel/room/delete/'+id)

export const insertRoom = (obj) => request.post('/api/hotel/room/insert',obj)

export const updateRoom = (obj) => request.put('/api/hotel/room/update',obj)

export const countRoom= (params) =>request.get('/api/hotel/room/count')
